package com.baomidou.mybatisplus.samples.quickstart.mapper;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.samples.quickstart.pojo.User;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;



import java.util.List;


/**
 * @author cyd
 * @date 2020/11/12
 */
public interface UserMapper extends BaseMapper<User> {

    @Select("select * from mp_user ${ew.customSqlSegment}")
    List<User> queryAll(@Param(Constants.WRAPPER)Wrapper<User> wrapper);
}
